POV-Ray : Newsgroups : povray.advanced-users : Bitwise AND : Re: Bitwise AND Server Time
29 Jul 2024 02:20:13 EDT (-0400)
  Re: Bitwise AND  
From: Christopher James Huff
Date: 4 Apr 2004 20:19:15
Message: <cjameshuff-1E239E.20195404042004@news.povray.org>
In article <MPG.1ada23538462981989a0c@news.povray.org>,
 Patrick Elliott <sha### [at] hotmailcom> wrote:

> But.... Some mathematical operations require such operations.... Or at 
> least they can use them, so it is odd that such a thing is not actually 
> supported. Any method used to simulate this, where the result needs to be 
> used as a real numeric value would take extra steps to 'build' the value 
> from the array, string or whatever. This is imho quite silly.

It is not silly. The scene language is a high level language, and has no 
concept of bits, or even integers. Its numeric values are double 
precision floats. Performing bitwise operations on these is generally a 
bad idea, and is rarely useful. These operations are rarely used, and 
nearly useless for POV-Ray scripts.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.